/**
 * 
 */
package com.sesame.service;

import java.util.Map;

import javax.servlet.http.HttpServletRequest;

import com.sesame.domain.User;

/**
 * @author shubeta
 *
 */
public interface UserService {
    public boolean register(User user, Map model);

    public boolean validatePassword(User user, String confirmPassword, Map model);

    public boolean validateCode(HttpServletRequest request, String identifyCode, Map model);

    public boolean login(User user, Map model);

    public boolean findPassword(User user, Map model);

}
